GetEnum<T>(IPdfDictHolder,String,T) Method
In This Topic
Gets the enum value associated with the specified key (in a PDF enum values should be represented by PDF names).
Gets if the value does not exist or cannot be converted to .
Adds a warning to
GrapeCity.Documents.Pdf.GcPdfDocument.ParserLog if the value exists but cannot be converted to .
Syntax
'Declaration
Public Overloads Shared Function GetEnum(Of As {New, Struct})( _
ByVal As IPdfDictHolder, _
ByVal As System.String, _
ByVal As _
) As
public static GetEnum<>(
IPdfDictHolder ,
System.string ,
)
where T: new(), struct
Parameters
- pdh
- The current PDF dictionary holder.
- key
- The key of the value to get.
- defValue
- The default value.
Type Parameters
- T
Return Value
The value associated with the specified key.
See Also